import request from "../utils/request";
export const getGoodsTypes = (obj) => {
    return request({
        url: 'api/admin/getGoodsTypes',
        method: "get",
        params: obj,
    });
};
export const addGoodsType = (obj) => {
    return request({
        url: 'api/admin/addGoodsType',
        method: "post",
        data: obj,
    });
};
export const deleteGoodsType = (obj) => {
    return request({
        url: 'api/admin/deleteGoodsType',
        method: "post",
        data: obj,
    });
};
export const GetBusinessTypes = (obj) => {
    return request({
        url: 'api/admin/Admin_GetBusinessTypes',
        method: "get",
        params: obj,
    });
};

export const AddBusinessType = (obj) => {
    return request({
        url: 'api/admin/Admin_AddBusinessType',
        method: "post",
        data: obj,
    });
};
export const DeleteBusinessType = (obj) => {
    return request({
        url: 'api/admin/Admin_DeleteBusinessType',
        method: "post",
        data: obj,
    });
};





